export default [
  {
    path: '/creator',
    name: 'creator',
    component: () => import('../views/CreatorView.vue'),
    children: [
      {
        path: 'data',
        name: 'creatorData',
        redirect: {
          path: '/creator/data/base'
        },
        children: [
          {
            path: 'base',
            name: 'creatorDataBase',
            component: () => import('../components/data/BaseData.vue')
          },
          {
            path: 'content',
            name: 'creatorDataContent',
            component: () => import('../components/data/ContentData.vue')
          },
          {
            path: 'fans',
            name: 'creatorFansData',
            component: () => import('../components/data/FansData.vue')
          }
        ]
      },
      {
        path: 'manage',
        name: 'creatorManage',
        redirect: '/creator/manage/article',
        children: [
          {
            path: 'article',
            name: 'creatorManageArticle',
            component: () => import('../components/content/ManageArticle.vue'),
            redirect: '/creator/manage/article/draft',
            children: [
              {
                path: 'draft',
                name: 'creatorManageArticleDraft',
                component: () => import('../components/content/ManageArticleDraft.vue')
              },
              // {
              //   path: 'checking',
              //   name: 'creatorManageArticleChecking',
              //   component: () => import('../components/content/ManageArticleChecking.vue')
              // },
              {
                path: 'published',
                name: 'creatorManageArticlePublished',
                component: () => import('../components/content/ManageArticlePublished.vue')
              }
            ]
          },
          {
            path: 'source',
            name: 'creatorManageSource',
            component: () => import('../components/content/ManageSource.vue'),
            redirect: '/creator/manage/source/draft',
            children: [
              {
                path: 'draft',
                name: 'creatorManageSourceDraft',
                component: () => import('../components/content/ManageSourceDraft.vue')
              },
              // {
              //   path: 'checking',
              //   name: 'creatorManageSourceChecking',
              //   component: () => import('../components/content/ManageSourceChecking.vue')
              // },
              {
                path: 'published',
                name: 'creatorManageSourcePublished',
                component: () => import('../components/content/ManageSourcePublished.vue')
              }
            ]
          },
        ]
      }
    ]
  }
]